charset

open fun charset(): Optional<String>

Returns the charset specified in the Content-Type header or an empty Optional if the header does not contain a charset.